/*
 * Powered By free
 * Web Site: 
 * Since 2018 - 2021
 */
package com.menhai.personmanagement.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
 * @author free
 * @version 1.0
 * @since 2021/12/06 09:22
 */
import com.menhai.personmanagement.entity.MbIndexInput;
import com.menhai.personmanagement.entity.MbPopulation;

@Mapper
public interface MbIndexInputMapper{
	
	/**
	 * insert
	 * @param followupRecord
	 * @return int
	 */
	public int insert(MbIndexInput mbIndexInput);
	
	/**
	 * update
	 * @param followupRecord
	 * @return int
	 */
	public int update(MbIndexInput mbIndexInput);
	
	/**
	 * delete
	 * @param id
	 * @return int
	 */
	public int delete(String id);
	
	/**
	 * getOneByCondition
	 * @param followupRecord
	 * @return FollowupRecord
	 */
	public MbIndexInput getOneByCondition(MbIndexInput mbIndexInput);
	
	
	/**
	 * getListByCondition
	 * @param followupRecordCondition
	 * @return List<Map<String,Object>>
	 */
	public List<Map<String,Object>> getListByCondition(MbIndexInput mbIndexInput);
	
	
	/**
	 * getCountByCondition
	 * @param 
	 * @return int
	 */
	public int getCountByCondition(MbIndexInput mbIndexInput);
	
	
	 IPage<MbIndexInput> getListByConditionByPage(@Param("page")Page<MbIndexInput> page, @Param("mbIndexInput") MbIndexInput mbIndexInput);


	public List<Map<String,Object>> getOneById(MbIndexInput mbIndexInput);
	
	public List<Map<String,Object>> getOneByPopulation(@Param("populationId") String populationId);

}
